﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Tasks.Common.Entitys;
using System.Web.Mvc;

namespace Tasks.UI.Models
{
    /// <summary>
    /// 线路编辑模型
    /// </summary>
    public class TourEditModel:BaseManageModel
    {
        /// <summary>
        /// 提前报名天数
        /// </summary>
        public int EarlyDay { get; set; }

        /// <summary>
        /// 线路价格
        /// </summary>
        public IList<TourPrice> TourPrices { get; set; }

        public decimal[] TP_BusinessPrice { get; set; }
        public int[] TP_ChargeType { get; set; }
        public decimal[] TP_NetPrice { get; set; }
        public decimal[] TP_MarketPrice { get; set; }
        public decimal[] TP_SellPrice { get; set; }
        public int[] TP_TourPriceID { get; set; }

        /// <summary>
        /// 是否有早餐
        /// </summary>
        public string[] Dine_B { get; set; }
        /// <summary>
        /// 是否有午餐
        /// </summary>
        public string[] Dine_L { get; set; }
        /// <summary>
        /// 是否有晚餐
        /// </summary>
        public string[] Dine_S { get; set; }

        /// <summary>
        /// 授权销售的用户分组
        /// </summary>
        public string[] AuthorizeUserID { get; set; }

        #region 线路信息字段

        /// <summary>
        /// 线路服务标准
        /// </summary>
        public IList<TourService> TourServices { get; set; }

        /// <summary>
        /// 服务标题字符串
        /// </summary>
        public string[] ServiceTitle { get; set; }
        /// <summary>
        /// 服务内容字符串
        /// </summary>
        public string[] ServiceContent { get; set; }


        /// <summary>
        /// 线路行程
        /// </summary>
        public IList<TourCalendar> TourCalendars { get; set; }

        /// <summary>
        /// 行程内容
        /// </summary>
        public string[] TC_TravelContent { get; set; }
        /// <summary>
        /// 行程用餐
        /// </summary>
        public string[] TC_Dine { get; set; }
        /// <summary>
        /// 行程酒店
        /// </summary>
        public string[] TC_HotelPlace { get; set; }
        /// <summary>
        /// 出发地
        /// </summary>
        public string[] TC_LeavePlace { get; set; }
        /// <summary>
        /// 目的地
        /// </summary>
        public string[] TC_Destination { get; set; }
        /// <summary>
        /// 交通
        /// </summary>
        public string[] TC_Traffic { get; set; }


        #region TourID

        private Int32 m_tourID;

        /// <summary>Gets or sets TourID</summary>
        public Int32 TourID
        {
            get { return m_tourID; }
            set { m_tourID = value; }
        }

        #endregion

        #region TourGuid

        private String m_tourGuid;

        /// <summary>
        /// 旅游只能
        /// </summary>
        public String TourGuid
        {
            get { return m_tourGuid; }
            set { m_tourGuid = value; }
        }

        #endregion

        #region TourType

        private Int32 m_tourType;

        /// <summary>
        /// 线路类型
        /// </summary>
        public Int32 TourType
        {
            get { return m_tourType; }
            set { m_tourType = value; }
        }

        #endregion

        #region Name

        private String m_name;

        /// <summary>
        /// 线路名称
        /// </summary>
        public String Name
        {
            get { return m_name; }
            set { m_name = value; }
        }

        #endregion

        #region CategoryID

        private Int32 m_categoryID;

        /// <summary>
        /// 线路分类
        /// </summary>
        public Int32 CategoryID
        {
            get { return m_categoryID; }
            set { m_categoryID = value; }
        }

        #endregion

        #region TravelDayCount

        private Int32 m_travelDayCount;

        /// <summary>
        /// 行程天数
        /// </summary>
        public Int32 TravelDayCount
        {
            get { return m_travelDayCount; }
            set { m_travelDayCount = value; }
        }

        #endregion

        #region PlanUserCount

        private Int32 m_planUserCount;

        /// <summary>
        /// 计划人数
        /// </summary>
        public Int32 PlanUserCount
        {
            get { return m_planUserCount; }
            set { m_planUserCount = value; }
        }

        #endregion

        #region BeginTravelDate

        private string m_beginTravelDate;

        /// <summary>
        /// 发团日期
        /// </summary>
        public string BeginTravelDate
        {
            get { return m_beginTravelDate; }
            set { m_beginTravelDate = value; }
        }

        #endregion

        #region EndTravelDate

        private string m_endTravelDate;

        /// <summary>
        /// 结束日期
        /// </summary>
        public string EndTravelDate
        {
            get { return m_endTravelDate; }
            set { m_endTravelDate = value; }
        }

        #endregion

        #region TravelDateRule

        private String m_travelDateRule;

        /// <summary>
        /// 发团日期规则
        /// </summary>
        public String TravelDateRule
        {
            get { return m_travelDateRule; }
            set { m_travelDateRule = value; }
        }

        #endregion

        #region LeaveCity

        private String m_leaveCity;

        /// <summary>
        /// 离开城市
        /// </summary>
        public String LeaveCity
        {
            get { return m_leaveCity; }
            set { m_leaveCity = value; }
        }

        #endregion

        #region LeaveTraffic

        private String m_leaveTraffic;

        /// <summary>
        /// 出发交通
        /// </summary>
        public String LeaveTraffic
        {
            get { return m_leaveTraffic; }
            set { m_leaveTraffic = value; }
        }

        #endregion

        #region LeaveTime

        private String m_leaveTime;

        /// <summary>
        /// 离开时间
        /// </summary>
        public String LeaveTime
        {
            get { return m_leaveTime; }
            set { m_leaveTime = value; }
        }

        #endregion

        #region ReturnCity

        private String m_returnCity;

        /// <summary>
        /// 返回城市
        /// </summary>
        public String ReturnCity
        {
            get { return m_returnCity; }
            set { m_returnCity = value; }
        }

        #endregion

        #region ReturnTraffic

        private String m_returnTraffic;

        /// <summary>
        /// 返回交通
        /// </summary>
        public String ReturnTraffic
        {
            get { return m_returnTraffic; }
            set { m_returnTraffic = value; }
        }

        #endregion

        #region ReturnTime

        private String m_returnTime;

        /// <summary>
        /// 返回时间
        /// </summary>
        public String ReturnTime
        {
            get { return m_returnTime; }
            set { m_returnTime = value; }
        }

        #endregion

        #region TravelFeature

        private String m_travelFeature;

        /// <summary>
        /// 旅游特色
        /// </summary>
        public String TravelFeature
        {
            get { return m_travelFeature; }
            set { m_travelFeature = value; }
        }

        #endregion

        #region ChargeInclude

        private String m_chargeInclude;

        /// <summary>
        /// 费用包含
        /// </summary>
        public String ChargeInclude
        {
            get { return m_chargeInclude; }
            set { m_chargeInclude = value; }
        }

        #endregion

        #region Tips

        private String m_tips;

        /// <summary>
        /// 温馨提示
        /// </summary>
        public String Tips
        {
            get { return m_tips; }
            set { m_tips = value; }
        }

        #endregion

        #region Remark

        private String m_remark;

        /// <summary>
        /// 备注
        /// </summary>
        public String Remark
        {
            get { return m_remark; }
            set { m_remark = value; }
        }

        #endregion

        #region LandOperator

        private String m_landOperator;

        /// <summary>
        /// 地接社
        /// </summary>
        public String LandOperator
        {
            get { return m_landOperator; }
            set { m_landOperator = value; }
        }

        #endregion

        #region LandOperatorTel

        private String m_landOperatorTel;

        /// <summary>
        /// 地接社联系人电话
        /// </summary>
        public String LandOperatorTel
        {
            get { return m_landOperatorTel; }
            set { m_landOperatorTel = value; }
        }

        #endregion

        #region LandOperatorLinkman

        private String m_landOperatorLinkman;

        /// <summary>
        /// 地接社联系人
        /// </summary>
        public String LandOperatorLinkman
        {
            get { return m_landOperatorLinkman; }
            set { m_landOperatorLinkman = value; }
        }

        #endregion

        #region LandOperatorAddress

        private String m_landOperatorAddress;

        /// <summary>
        /// 地接社地址
        /// </summary>
        public String LandOperatorAddress
        {
            get { return m_landOperatorAddress; }
            set { m_landOperatorAddress = value; }
        }

        #endregion

        #region IsWebSite

        /// <summary>
        /// 是否在网站上发布
        /// </summary>
        public bool IsWebSite { get; set; }

        #endregion

        #region IsShare


        /// <summary>
        /// 是否共享线路
        /// </summary>
        public bool IsShare { get; set; }

        #endregion

        #region TeamCount

        private Int32 m_teamCount;

        /// <summary>
        /// 图数
        /// </summary>
        public Int32 TeamCount
        {
            get { return m_teamCount; }
            set { m_teamCount = value; }
        }

        #endregion

        #region SupplierID

        private Int32 m_supplierID;

        /// <summary>
        /// 供应商
        /// </summary>
        public Int32 SupplierID
        {
            get { return m_supplierID; }
            set { m_supplierID = value; }
        }

        #endregion

        #region OwnerID

        private Int32 m_ownerID;

        /// <summary>
        /// 拥有人ID
        /// </summary>
        public Int32 OwnerID
        {
            get { return m_ownerID; }
            set { m_ownerID = value; }
        }

        #endregion

        #region State

        private Int32 m_state;

        /// <summary>
        /// 状态
        /// </summary>
        public Int32 State
        {
            get { return m_state; }
            set { m_state = value; }
        }

        #endregion


        public string TravelDestination { get; set; }

        public string RecommendDspt { get; set; }

        public string GatheringPlace { get; set; }

        #endregion

        public bool OnlinePay { get; set; }
        public bool CashOnDelivery { get; set; }
        public string CategoryName { get; set; }

        //线路主题
        public int TourPlaytheme { get; set; }
        public string TourPlaythemeName { get; set; }
    }
}